package com.supplychainapi.model;

import java.util.Date;

import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModelProperty;


/**
 * 
 * 树分项
 * @author:xiezhiwei
 * @email:xiezhiwei@niwodai.net
 * @date:2017-10-25
 *
 */

@Table(name="scm_tbtreeitem")
public class ScmTbtreeitem{
	
	@ApiModelProperty(value = "树分项代码",required=true)
	@Id
    private String fsTreeItemId;
	
	@ApiModelProperty(value = "店铺GUID",required=true)
	@Id
    private String fsShopGUID;
    
	@ApiModelProperty(value = "树分项代码")
    private String fsTreeItemlName;
	
	@ApiModelProperty(value = "分类树类型;Material/Supplier/Cust")
    private String fsTreeTypeId;
	
	@ApiModelProperty(value = "顺序")
    private Short fiSort;
	
	@ApiModelProperty(value = "数据状态;1=正常/9=禁用")
    private Short fiStatus;
	
	@ApiModelProperty(value = "数据类型;1系统数据、2用户数据")
    private Short fiDataKind;
	
	@ApiModelProperty(value = "创建日期时间")
    private Date fsCreateTime;
	
	@ApiModelProperty(value = "创建用户代码")
    private String fsCreateUserId;
	
	@ApiModelProperty(value = "创建用户名称")
    private String fsCreateUserName;
	
	@ApiModelProperty(value = "更新日期时间")
    private Date fsUpdateTime;
	
	@ApiModelProperty(value = "更新用户代码")
    private String fsUpdateUserId;
	
	@ApiModelProperty(value = "更新用户名称")
    private String fsUpdateUserName;
    
    public String getFsTreeItemId() {
        return fsTreeItemId;
    }

    public void setFsTreeItemId(String fsTreeItemId) {
        this.fsTreeItemId = fsTreeItemId == null ? null : fsTreeItemId.trim();
    }

    public String getFsShopGUID() {
        return fsShopGUID;
    }

    public void setFsShopGUID(String fsShopGUID) {
        this.fsShopGUID = fsShopGUID == null ? null : fsShopGUID.trim();
    }

    public String getFsTreeItemlName() {
        return fsTreeItemlName;
    }

    public void setFsTreeItemlName(String fsTreeItemlName) {
        this.fsTreeItemlName = fsTreeItemlName == null ? null : fsTreeItemlName.trim();
    }

    public String getFsTreeTypeId() {
        return fsTreeTypeId;
    }

    public void setFsTreeTypeId(String fsTreeTypeId) {
        this.fsTreeTypeId = fsTreeTypeId == null ? null : fsTreeTypeId.trim();
    }

    public Short getFiSort() {
        return fiSort;
    }

    public void setFiSort(Short fiSort) {
        this.fiSort = fiSort;
    }

    public Short getFiStatus() {
        return fiStatus;
    }

    public void setFiStatus(Short fiStatus) {
        this.fiStatus = fiStatus;
    }

    public Short getFiDataKind() {
        return fiDataKind;
    }

    public void setFiDataKind(Short fiDataKind) {
        this.fiDataKind = fiDataKind;
    }

    public Date getFsCreateTime() {
        return fsCreateTime;
    }

    public void setFsCreateTime(Date fsCreateTime) {
        this.fsCreateTime = fsCreateTime;
    }

    public String getFsCreateUserId() {
        return fsCreateUserId;
    }

    public void setFsCreateUserId(String fsCreateUserId) {
        this.fsCreateUserId = fsCreateUserId == null ? null : fsCreateUserId.trim();
    }

    public String getFsCreateUserName() {
        return fsCreateUserName;
    }

    public void setFsCreateUserName(String fsCreateUserName) {
        this.fsCreateUserName = fsCreateUserName == null ? null : fsCreateUserName.trim();
    }

    public Date getFsUpdateTime() {
        return fsUpdateTime;
    }

    public void setFsUpdateTime(Date fsUpdateTime) {
        this.fsUpdateTime = fsUpdateTime;
    }

    public String getFsUpdateUserId() {
        return fsUpdateUserId;
    }

    public void setFsUpdateUserId(String fsUpdateUserId) {
        this.fsUpdateUserId = fsUpdateUserId == null ? null : fsUpdateUserId.trim();
    }

    public String getFsUpdateUserName() {
        return fsUpdateUserName;
    }

    public void setFsUpdateUserName(String fsUpdateUserName) {
        this.fsUpdateUserName = fsUpdateUserName == null ? null : fsUpdateUserName.trim();
    }
}